<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 函数也是一个特殊的对象 (实例化对象)
    
    // 函数

    function add(a,b){
        return a + b;
    }

    // var add = function(a,b){
    //     return a + b;
    // }

    // var add = new Function("a","b","return a + b");
    // console.log(add);

    console.dir(add);




</script>
</html>